home *** CD-ROM | disk | FTP | other *** search
- <html>
- <head>
- <title> HTML, PHP and Forms. </title>
- <meta name="Generator" content="AlleyCode">
- </head>
-
- <body>
- <form action="form.php" method="POST">
- Your name: <input type="text" name="name">
- Your age: <input type="text" name="age">
- <input type="submit">
- </form>
-
- <p>Hi <?php echo $_POST["name"]; ?>.
- You are <?php echo $_POST["age"]; ?> years old.</p>
-
- </body>
- </html>
-